home *** CD-ROM | disk | FTP | other *** search
- >1) Can anyone tell me the formula for a parabola? Or preferably, can
- >anyone tell me how to write a curve tool like the one in Deluxe paint?
-
- The standard mathematical formula is y = c(x-h)^2 + k.
-
- >2) What I want to do, for example, is pick up a circle of colour 0 from
- >a background of colour 1 as a BOB, like:
- > ______
- > | __ |<--colour 1
- > | / \ |
- > | \__/<|---colour 0
- > |______|
- >
- >BUT I would like colour 1 to be transparent and NOT colour 0! I found a
- >machine code procedure called MAKE_MASK on an AmosPro Productivity disk
- >and tried to use that in conjunction with NO MASK but without success.
-
- Pick up the MAKE_MASK procedure from the Procedure Library (the library
- WWW page is http://www.gate.net/amos/play/software/procedures/Contents.html)
- and see if that helps.
-
- >3) I presume there's no way to REDIM an array is there?
-
- Nope.
-
- >4) Or SET BUFFER within a program? I want to have a list of fonts but,
- >since I don't have a hard drive, I have hardly any. When I gave the
- >program to a friend it said "out of variable space" or something. Do I
- >just whack it up high and hope for the best? If so, is there a way of
- >telling a maximum number of fonts that the buffer would hold? I don't
- >think I can do an interface ActiveList directly from the FONT$() array
- >can I??
-
- No, you can't Set Buffer within a program, and you can't use the Font$()
- array with the Interface, since Font$() is a function, not an array.
-
- >5) Is there a faster version of PLOT and POINT as I'm doing "image
- >processing" (sort of..) in the program and it's REALLY slow. I have
- >seen an image processor I think is in Amos (because you can Ami+A it
- >into Wbench) and it makes mine look foolish by being so fast - how does
- >it do it?
-
- Probably uses the Turbo (Plus) extension. There's a demo on AmiNet:
- /pub/aminet/dev/amos/turbo1.lha and tscene1.lha.
-
- --Andy Church
-
-